package com.weiqk.pmdemo.service;

import com.weiqk.pmdemo.dto.ApplyLinkDto;
import com.weiqk.pmdemo.dto.PayLinkInDto;
import com.weiqk.pmdemo.dto.PurchaseInDto;
import com.weiqk.pmdemo.pojo.PayLink;
import com.weiqk.pmdemo.pojo.Purchase;

import java.util.List;

public interface PurchaseService {
    Iterable<Purchase> findAll();
    Boolean deleteById(int id);
    Boolean update(PurchaseInDto purchaseInDto);
    Boolean put(PurchaseInDto purchaseInDto);
    //未完成申请手续记录
    List<Purchase> findfalgnull();
//输入采购环节id
    int countneednum(int id);
    PayLink firstPay(int id);
}
